package net.csdn.business.common.domain.vo.enterprise;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @ClassName EnterpriseVo
 * @Description TODO
 * @Author lzs
 * @Date 2024/4/17
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL) //为空的字段不返还
public class EnterpriseVo {
    private Long id;
    //企业名称
    private String enterpriseName;
    //企业社会信用代码
    private String creditCode;
    //营业执照
    private String businessLicense;
    private String businessCorporation;
    //组织编码
    private String orgCode;
    //组织ID
    private String orgId;
    //法人代表
    private String corporation;
    //身份证号
    private String idcard;
    //身份证正面
    private String idcardFront;
    //认证时间
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date attestationTime;
    //认证状态 1-待审核 2-已认证 3-已驳回
    private Integer attestationStatus;
    //是否展示认证
    private Boolean isShow;
    //审批意见
    private String auditView;
    //身份证号加密偏移量
    @JsonIgnore
    private String encryptIdcardVi;

    private String idcardFrontUrl;
    private String businessLicenseUrl;

    private String orgName;

    private String authorisationLetter;
    private String authorisationLetterUrl;
    private String authorisationLetterName;
    private String authorisationLetterSize;
}
